package com.newtouch.bxzs.business.train.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 新增或修改考试基本信息VO类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/21</td>
 * <td>lanwei</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lanwei
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("考试新增或修改基本信息VO类")
public class ModifyExaminationBaseInfoVO implements Serializable {

  private static final long serialVersionUID = 3215992014899188131L;

  @ApiModelProperty(value = "考试id",required = true)
  private String examinationId;

  @ApiModelProperty(value = "考试名称",required = true)
  private String examinationName;

  @ApiModelProperty(value = "考试时长",required = true)
  private Double examinationDuration;

  @ApiModelProperty(value = "考试类型，正式考试、模拟考试",required = true)
  private String examinationType;
  
  @ApiModelProperty(value = "试卷id")
  private String examinationPaperId;
  
  @ApiModelProperty(value = "参考人员id集合")
  private List<String> examinationUserIds;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ApiModelProperty(value = "考试开始时间",required = true)
  private Date examinationStartTime;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ApiModelProperty(value = "考试结束时间",required = true)
  private Date examinationEndTime;

}
